PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Fractal / Nested Pyramid / martin + stahlregen - martin in da mash 10 (infinity mix).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.039 |
| 26 | fWaveScale=0.372 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.200 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.800 |
| 45 | wave_g=0.300 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.015 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.82000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_per_point1=k0 = int(100.0*sample); |
| 89 | wave_0_per_point2=k2 = int(100.0*sample+1); |
| 90 | wave_0_per_point3=k1 = equal(k0%2,0); |
| 91 | wave_0_per_point4=k2 = equal(k0%2,1); |
| 92 | wave_0_per_point5= |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=ix = (100*value1)%7-2.5; |
| 95 | wave_0_per_point8=iy = (100*value2)%7-2.5; |
| 96 | wave_0_per_point9= |
| 97 | wave_0_per_point10=sp = bass + treb; |
| 98 | wave_0_per_point11=sp = sp /3000; |
| 99 | wave_0_per_point12= |
| 100 | wave_0_per_point13= |
| 101 | wave_0_per_point14=dx = (dx+sp*ix) * .998; |
| 102 | wave_0_per_point15=dy = (dy+sp*iy) * .998 ; |
| 103 | wave_0_per_point16= |
| 104 | wave_0_per_point17= |
| 105 | wave_0_per_point18=ox = k1*dx + (1-k1)*ox; |
| 106 | wave_0_per_point19=oy = k2*dy + (1-k2)*oy; |
| 107 | wave_0_per_point20= |
| 108 | wave_0_per_point21= |
| 109 | wave_0_per_point22= |
| 110 | wave_0_per_point23=//ox = 0; oy = 0; |
| 111 | wave_0_per_point24= |
| 112 | wave_0_per_point25=x = ox+.5; |
| 113 | wave_0_per_point26=y = oy+.5; |
| 114 | wave_0_per_point27= |
| 115 | wave_0_per_point28=r = 1; |
| 116 | wave_0_per_point29=g = 1; |
| 117 | wave_0_per_point30=b = 1; |
| 118 | wave_0_per_point31=a = 1; |
| 119 | wavecode_1_enabled=1 |
| 120 | wavecode_1_samples=512 |
| 121 | wavecode_1_sep=0 |
| 122 | wavecode_1_bSpectrum=0 |
| 123 | wavecode_1_bUseDots=1 |
| 124 | wavecode_1_bDrawThick=0 |
| 125 | wavecode_1_bAdditive=0 |
| 126 | wavecode_1_scaling=0.89152 |
| 127 | wavecode_1_smoothing=0.82000 |
| 128 | wavecode_1_r=1.000 |
| 129 | wavecode_1_g=1.000 |
| 130 | wavecode_1_b=1.000 |
| 131 | wavecode_1_a=0.100 |
| 132 | wave_1_per_frame1=t1 = 2*sin(time/15); |
| 133 | wave_1_per_frame2=t2 = 2*sin(time/11); |
| 134 | wave_1_per_frame3=monitor = time; |
| 135 | wave_1_per_point1= |
| 136 | wave_1_per_point2=t_abs = sample ; |
| 137 | wave_1_per_point3= |
| 138 | wave_1_per_point4=ox = sin (t_abs*68); |
| 139 | wave_1_per_point5=oy = cos (t_abs*63); |
| 140 | wave_1_per_point6=oz = sin (t_abs*125); |
| 141 | wave_1_per_point7= |
| 142 | wave_1_per_point8=r = 1; |
| 143 | wave_1_per_point9=g = .5 ; |
| 144 | wave_1_per_point10=b = 1 ; |
| 145 | wave_1_per_point11= |
| 146 | wave_1_per_point12=t_rel = sample - time/127; |
| 147 | wave_1_per_point13=t_rel = t_rel - int(t_rel); |
| 148 | wave_1_per_point14= |
| 149 | wave_1_per_point15=a = (512*sample-time*2)%2; |
| 150 | wave_1_per_point16=a = 1; |
| 151 | wave_1_per_point17= |
| 152 | wave_1_per_point18=xang = 0 ; |
| 153 | wave_1_per_point19=yang = t1; |
| 154 | wave_1_per_point20=zang = t1; |
| 155 | wave_1_per_point21=fov = 0.15; |
| 156 | wave_1_per_point22= |
| 157 | wave_1_per_point23= |
| 158 | wave_1_per_point24=// Rotation um x,y,z |
| 159 | wave_1_per_point25= |
| 160 | wave_1_per_point26=mx = ox*cos(zang) - oy*sin(zang); |
| 161 | wave_1_per_point27=my = ox*sin(zang) + oy*cos(zang); |
| 162 | wave_1_per_point28= |
| 163 | wave_1_per_point29=ox = mx; |
| 164 | wave_1_per_point30=oy = my; |
| 165 | wave_1_per_point31=mx = ox*cos(yang) + oz*sin(yang); |
| 166 | wave_1_per_point32=mz = - ox*sin(yang) + oz*cos(yang); |
| 167 | wave_1_per_point33=ox = mx; |
| 168 | wave_1_per_point34=oz = mz; |
| 169 | wave_1_per_point35=my = oy*cos(xang) - oz*sin(xang); |
| 170 | wave_1_per_point36=mz = oy*sin(xang) + oz*cos(xang); |
| 171 | wave_1_per_point37=oy = my; |
| 172 | wave_1_per_point38=oz = mz; |
| 173 | wave_1_per_point39= |
| 174 | wave_1_per_point40=//oz = oz - 6; |
| 175 | wave_1_per_point41=x = ox*fov/oz +0.5; |
| 176 | wave_1_per_point42=//x = (x-.5)*0.75 + 0.5; |
| 177 | wave_1_per_point43=y = oy*fov/oz + 0.5; |
| 178 | wavecode_2_enabled=0 |
| 179 | wavecode_2_samples=512 |
| 180 | wavecode_2_sep=0 |
| 181 | wavecode_2_bSpectrum=0 |
| 182 | wavecode_2_bUseDots=0 |
| 183 | wavecode_2_bDrawThick=1 |
| 184 | wavecode_2_bAdditive=0 |
| 185 | wavecode_2_scaling=0.89152 |
| 186 | wavecode_2_smoothing=0.82000 |
| 187 | wavecode_2_r=1.000 |
| 188 | wavecode_2_g=1.000 |
| 189 | wavecode_2_b=1.000 |
| 190 | wavecode_2_a=0.100 |
| 191 | wave_2_per_point1=k1 = (sample*512) % 8; |
| 192 | wave_2_per_point2= |
| 193 | wave_2_per_point3=t1 = equal (k1,0)*((t1 * 61 + 27) % 4096) |
| 194 | wave_2_per_point4= + (1-equal(k1,0))*t1; |
| 195 | wave_2_per_point5= |
| 196 | wave_2_per_point6=exc = 1+rand(5); |
| 197 | wave_2_per_point7=ampl = sample*sqrt(t2) * (1+exc); |
| 198 | wave_2_per_point8= |
| 199 | wave_2_per_point9=f1 = q4*ampl* sin(t1*6.28/4096); |
| 200 | wave_2_per_point10=f2 = q4*ampl* cos(t1*6.28/4096); |
| 201 | wave_2_per_point11= |
| 202 | wave_2_per_point12=x = q2 + k1* f1 ; |
| 203 | wave_2_per_point13=y = q3 + k1* f2; |
| 204 | wave_2_per_point14= |
| 205 | wave_2_per_point15=a = equal(k1,6) + equal (k1,0); |
| 206 | wave_2_per_point16= |
| 207 | wave_2_per_point17=r = 1; |
| 208 | wave_2_per_point18=b = equal (k1,0); |
| 209 | wave_2_per_point19=g = .6* (1+.6*equal (k1,0)) ; |
| 210 | wave_2_per_point20=a = a * q5 * (1-0*t2*t2); |
| 211 | wave_2_per_point21=//a = 0; |
| 212 | wave_2_per_point22= |
| 213 | wave_2_per_point23= |
| 214 | wavecode_3_enabled=0 |
| 215 | wavecode_3_samples=512 |
| 216 | wavecode_3_sep=0 |
| 217 | wavecode_3_bSpectrum=1 |
| 218 | wavecode_3_bUseDots=1 |
| 219 | wavecode_3_bDrawThick=0 |
| 220 | wavecode_3_bAdditive=0 |
| 221 | wavecode_3_scaling=1.00000 |
| 222 | wavecode_3_smoothing=0.50000 |
| 223 | wavecode_3_r=1.000 |
| 224 | wavecode_3_g=1.000 |
| 225 | wavecode_3_b=1.000 |
| 226 | wavecode_3_a=1.000 |
| 227 | wave_3_per_point1= |
| 228 | wave_3_per_point2=t_abs = sample; |
| 229 | wave_3_per_point3=t_rel = sample-time/8; |
| 230 | wave_3_per_point4= |
| 231 | wave_3_per_point5=ox = sin (sample*110) ; |
| 232 | wave_3_per_point6=oy = cos (sample*110); |
| 233 | wave_3_per_point7= |
| 234 | wave_3_per_point8=oz = 4+1/(t_rel - int(t_rel)); |
| 235 | wave_3_per_point9= |
| 236 | wave_3_per_point10=r = .3; |
| 237 | wave_3_per_point11=g = 0.7; |
| 238 | wave_3_per_point12=b = 1; |
| 239 | wave_3_per_point13= |
| 240 | wave_3_per_point14=a = .8; |
| 241 | wave_3_per_point15= |
| 242 | wave_3_per_point16=xang = 0; |
| 243 | wave_3_per_point17=yang = 0; |
| 244 | wave_3_per_point18=zang = 0; |
| 245 | wave_3_per_point19=fov = .5; |
| 246 | wave_3_per_point20= |
| 247 | wave_3_per_point21= |
| 248 | wave_3_per_point22=// Rotation um x,y,z |
| 249 | wave_3_per_point23= |
| 250 | wave_3_per_point24=mx = ox*cos(zang) - oy*sin(zang); |
| 251 | wave_3_per_point25=my = ox*sin(zang) + oy*cos(zang); |
| 252 | wave_3_per_point26= |
| 253 | wave_3_per_point27=ox = mx; |
| 254 | wave_3_per_point28=oy = my; |
| 255 | wave_3_per_point29=mx = ox*cos(yang) + oz*sin(yang); |
| 256 | wave_3_per_point30=mz = - ox*sin(yang) + oz*cos(yang); |
| 257 | wave_3_per_point31=ox = mx; |
| 258 | wave_3_per_point32=oz = mz; |
| 259 | wave_3_per_point33=my = oy*cos(xang) - oz*sin(xang); |
| 260 | wave_3_per_point34=mz = oy*sin(xang) + oz*cos(xang); |
| 261 | wave_3_per_point35=oy = my; |
| 262 | wave_3_per_point36=oz = mz; |
| 263 | wave_3_per_point37= |
| 264 | wave_3_per_point38=x = ox*fov/oz +0.45; |
| 265 | wave_3_per_point39=y = oy*fov/oz + 0.45; |
| 266 | shapecode_0_enabled=0 |
| 267 | shapecode_0_sides=44 |
| 268 | shapecode_0_additive=1 |
| 269 | shapecode_0_thickOutline=1 |
| 270 | shapecode_0_textured=0 |
| 271 | shapecode_0_num_inst=1 |
| 272 | shapecode_0_x=0.500 |
| 273 | shapecode_0_y=0.500 |
| 274 | shapecode_0_rad=0.12634 |
| 275 | shapecode_0_ang=1.57080 |
| 276 | shapecode_0_tex_ang=0.00000 |
| 277 | shapecode_0_tex_zoom=0.53907 |
| 278 | shapecode_0_r=0.000 |
| 279 | shapecode_0_g=0.540 |
| 280 | shapecode_0_b=0.890 |
| 281 | shapecode_0_a=0.100 |
| 282 | shapecode_0_r2=0.840 |
| 283 | shapecode_0_g2=0.930 |
| 284 | shapecode_0_b2=1.000 |
| 285 | shapecode_0_a2=0.000 |
| 286 | shapecode_0_border_r=1.000 |
| 287 | shapecode_0_border_g=1.000 |
| 288 | shapecode_0_border_b=0.000 |
| 289 | shapecode_0_border_a=0.000 |
| 290 | shape_0_per_frame1=x = .5 + .5 * sin(time); |
| 291 | shape_0_per_frame2=y = .5 + .5 * sin(time); |
| 292 | shapecode_1_enabled=0 |
| 293 | shapecode_1_sides=63 |
| 294 | shapecode_1_additive=0 |
| 295 | shapecode_1_thickOutline=0 |
| 296 | shapecode_1_textured=1 |
| 297 | shapecode_1_num_inst=1 |
| 298 | shapecode_1_x=0.500 |
| 299 | shapecode_1_y=0.500 |
| 300 | shapecode_1_rad=1.99863 |
| 301 | shapecode_1_ang=0.00000 |
| 302 | shapecode_1_tex_ang=0.00000 |
| 303 | shapecode_1_tex_zoom=0.49981 |
| 304 | shapecode_1_r=1.000 |
| 305 | shapecode_1_g=1.000 |
| 306 | shapecode_1_b=1.000 |
| 307 | shapecode_1_a=0.100 |
| 308 | shapecode_1_r2=1.000 |
| 309 | shapecode_1_g2=1.000 |
| 310 | shapecode_1_b2=1.000 |
| 311 | shapecode_1_a2=0.600 |
| 312 | shapecode_1_border_r=0.500 |
| 313 | shapecode_1_border_g=0.500 |
| 314 | shapecode_1_border_b=0.500 |
| 315 | shapecode_1_border_a=0.000 |
| 316 | shapecode_2_enabled=0 |
| 317 | shapecode_2_sides=63 |
| 318 | shapecode_2_additive=0 |
| 319 | shapecode_2_thickOutline=0 |
| 320 | shapecode_2_textured=1 |
| 321 | shapecode_2_num_inst=1 |
| 322 | shapecode_2_x=0.123 |
| 323 | shapecode_2_y=0.000 |
| 324 | shapecode_2_rad=0.27319 |
| 325 | shapecode_2_ang=0.00000 |
| 326 | shapecode_2_tex_ang=0.00000 |
| 327 | shapecode_2_tex_zoom=0.49981 |
| 328 | shapecode_2_r=1.000 |
| 329 | shapecode_2_g=1.000 |
| 330 | shapecode_2_b=1.000 |
| 331 | shapecode_2_a=1.000 |
| 332 | shapecode_2_r2=1.000 |
| 333 | shapecode_2_g2=1.000 |
| 334 | shapecode_2_b2=1.000 |
| 335 | shapecode_2_a2=0.000 |
| 336 | shapecode_2_border_r=0.500 |
| 337 | shapecode_2_border_g=0.500 |
| 338 | shapecode_2_border_b=0.500 |
| 339 | shapecode_2_border_a=0.000 |
| 340 | shapecode_3_enabled=0 |
| 341 | shapecode_3_sides=63 |
| 342 | shapecode_3_additive=0 |
| 343 | shapecode_3_thickOutline=0 |
| 344 | shapecode_3_textured=1 |
| 345 | shapecode_3_num_inst=1 |
| 346 | shapecode_3_x=0.500 |
| 347 | shapecode_3_y=1.000 |
| 348 | shapecode_3_rad=0.54822 |
| 349 | shapecode_3_ang=0.00000 |
| 350 | shapecode_3_tex_ang=0.00000 |
| 351 | shapecode_3_tex_zoom=0.49981 |
| 352 | shapecode_3_r=1.000 |
| 353 | shapecode_3_g=1.000 |
| 354 | shapecode_3_b=1.000 |
| 355 | shapecode_3_a=1.000 |
| 356 | shapecode_3_r2=1.000 |
| 357 | shapecode_3_g2=1.000 |
| 358 | shapecode_3_b2=1.000 |
| 359 | shapecode_3_a2=0.000 |
| 360 | shapecode_3_border_r=0.500 |
| 361 | shapecode_3_border_g=0.500 |
| 362 | shapecode_3_border_b=0.500 |
| 363 | shapecode_3_border_a=0.000 |
| 364 | per_frame_init_1=speed_=1;vx = 0; vy = 0; |
| 365 | per_frame_1=dec_med = pow (0.9, 30/fps); |
| 366 | per_frame_2=dec_slow = pow (0.96, 30/fps); |
| 367 | per_frame_3=beat = max (max (bass, mid), treb); |
| 368 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 369 | per_frame_5=is_beat = above(beat, .2+avg+peak) * above (time, t0+.5); |
| 370 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 371 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 372 | per_frame_8=index = (index + is_beat) %16; |
| 373 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%8; |
| 374 | per_frame_10= |
| 375 | per_frame_11=q20 = avg; |
| 376 | per_frame_12=q21 = beat; |
| 377 | per_frame_13=q22 = peak; |
| 378 | per_frame_14=q24 = is_beat; |
| 379 | per_frame_15=vol = bass_att + mid_att + treb_att; |
| 380 | per_frame_16=vol_ = dec_med * vol_ + (1-dec_med)* vol; |
| 381 | per_frame_17=vol__ = dec_med * vol__ + (1-dec_med)* vol_; |
| 382 | per_frame_18=q27 = index + 1; |
| 383 | per_frame_19=q28 = index2 + 1; |
| 384 | per_frame_20= |
| 385 | per_frame_21=k1 = is_beat*equal(index%4,0); |
| 386 | per_frame_22=p1 = k1*(p1+1) + (1-k1)*p1; |
| 387 | per_frame_23=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 388 | per_frame_24=rott = p2 * 3.1416/4; |
| 389 | per_frame_25= |
| 390 | per_frame_26=q1 = cos(rott); |
| 391 | per_frame_27=q2 = sin(rott); |
| 392 | per_frame_28=q3 = -q2; |
| 393 | per_frame_29=q4 = q1; |
| 394 | per_frame_30= |
| 395 | per_frame_31=trig = q24 * bnot(index%8); |
| 396 | per_frame_32=vx = vx*bnot(trig) + trig* (rand(100)/100-.5); |
| 397 | per_frame_33=vy = vy*bnot(trig) + trig* (rand(100)/100-.5); |
| 398 | per_frame_34=vz = vz*bnot(trig) + trig* (rand(100)/100-.5); |
| 399 | per_frame_35= |
| 400 | per_frame_36=q10 = 0.2+vy*vy*4; |
| 401 | per_frame_37=q11 = sin(time/9)*.5+.3; |
| 402 | per_frame_38= |
| 403 | per_frame_39=speed = min(vol_-vol__+.5,1); |
| 404 | per_frame_40=speed = max(speed,-.5); |
| 405 | per_frame_41=speed_ = bnot(trig)*speed_ + trig*speed; |
| 406 | per_frame_42=movz = movz + 2/fps*speed_; |
| 407 | per_frame_43=q9 = movz; |
| 408 | per_frame_44= |
| 409 | per_frame_45=q12 = min(q22,6)*2; |
| 410 | per_frame_46=//q13 = 1.5+sin(time/5); |
| 411 | per_frame_47=trig = bnot(index%4) * q24; |
| 412 | per_frame_48=dir = bnot(trig)*dir + trig*(rand(10)-5); |
| 413 | per_frame_49= |
| 414 | per_frame_50=trel = trel + .2/fps*dir; |
| 415 | per_frame_51= |
| 416 | per_frame_52=q5 = cos(trel); |
| 417 | per_frame_53=q6 = sin(trel+0*q27*(q28%2)); |
| 418 | per_frame_54=q7 = -q6; |
| 419 | per_frame_55=q8 = q5; |
| 420 | per_frame_56= |
| 421 | per_frame_57=px = px * dec_med + (1-dec_med)*vx; |
| 422 | per_frame_58=py = py * dec_med + (1-dec_med)*vy; |
| 423 | per_frame_59=q15 = px/3; |
| 424 | per_frame_60=q16 = py/3; |
| 425 | per_frame_61= |
| 426 | per_frame_62=q13 = min(2,1+abs(8*px*py)); |
| 427 | per_frame_63= |
| 428 | per_frame_64= |
| 429 | per_frame_65=ang0 = ang0*dec_med + vz*(1-dec_med); |
| 430 | per_frame_66=q17 = ang0*2; |
| 431 | per_frame_67= |
| 432 | per_frame_68=zoom = 1.1; |
| 433 | per_frame_69=rot = .2*sin(bnot(q28%2)*q28) ; |
| 434 | per_frame_70=dx = .00; |
| 435 | per_frame_71= |
| 436 | per_frame_72=monitor = q17; |
| 437 | warp_1=`float3 color, mus; |
| 438 | warp_2=`float dx,dy; |
| 439 | warp_3=`shader_body { |
| 440 | warp_4=` |
| 441 | warp_5=`float2 uv1 = (uv-.5);// * aspect.xy; |
| 442 | warp_6=` |
| 443 | warp_7=`float2 uv6 = uv1; |
| 444 | warp_8=`float z = 12*(1+rand_preset)*length((abs(uv1.x)-abs(uv1.y))); |
| 445 | warp_9=`float2 d = normalize(uv1); |
| 446 | warp_10=`float2 rs = clamp(tan(z)*d,-4,4); |
| 447 | warp_11=`uv1 -= rs/40; |
| 448 | warp_12=` |
| 449 | warp_13=`uv6 = .4*cos(uv1*8); |
| 450 | warp_14=`mus = .002/(length(uv6.y+uv6.x)); |
| 451 | warp_15=`mus *= (1+roam_cos); |
| 452 | warp_16=` |
| 453 | warp_17=`float3 crisp= tex2D(sampler_main,uv1*(1-q28/12+.4*z)+.5); |
| 454 | warp_18=` |
| 455 | warp_19=`float3 ret1 = crisp + mus; |
| 456 | warp_20=` |
| 457 | warp_21=`ret = (ret1*.99-.025); |
| 458 | warp_22=` |
| 459 | warp_23=`} |
| 460 | comp_1=`sampler sampler_pw_noise_lq; |
| 461 | comp_2=` |
| 462 | comp_3=`float3 neu, ret1; |
| 463 | comp_4=`float2 rs2,rs0,rss,uv1,uv2; |
| 464 | comp_5=`float ang2,c,s; |
| 465 | comp_6=`float2x2 rota = float2x2(.7,.7,-.7,.7); |
| 466 | comp_7=`shader_body |
| 467 | comp_8=`{ |
| 468 | comp_9=`float2 uv5 = (uv-.5)*aspect.xy; |
| 469 | comp_10=` |
| 470 | comp_11=`uv -= 0.5; |
| 471 | comp_12=`uv *= aspect.xy; |
| 472 | comp_13=`uv += float2 (q15,q16); |
| 473 | comp_14=`uv = mul(uv,float2x2(_qb)); |
| 474 | comp_15=`uv5 = uv; |
| 475 | comp_16=` |
| 476 | comp_17=`rs0.x = atan2(uv5.y, uv5.x)/3.1416*2; |
| 477 | comp_18=`rs0.y = .03/(length (uv5)); |
| 478 | comp_19=`rss = float2 (rs0.x+time/2,rs0.y+time*2); |
| 479 | comp_20=`//rss = mul(rss,float2x2(.7,.7,-.7,.7)); |
| 480 | comp_21=`float noise = (tex2D(sampler_pw_noise_lq,rss/32)-.7 >= 0); |
| 481 | comp_22=`//rss = abs(frac(rss*8)-.5)/7; |
| 482 | comp_23=` |
| 483 | comp_24=` |
| 484 | comp_25=`float3 ret1 = .0; |
| 485 | comp_26=`int anz = 10; |
| 486 | comp_27=`int n = 0; |
| 487 | comp_28=`float2 ofs = .02*float2(q5,q6).yx; |
| 488 | comp_29=`while (n <= anz) { |
| 489 | comp_30=` float dist = frac(-q9+1.0*n/anz); |
| 490 | comp_31=` |
| 491 | comp_32=` ang2 = q1*3.14*n/anz;//*q28+time; |
| 492 | comp_33=` c = cos(ang2); |
| 493 | comp_34=` s = sin(ang2); |
| 494 | comp_35=` uv2 = mul(uv,q13*dist*float2x2(c,s,-s,c)); |
| 495 | comp_36=` |
| 496 | comp_37=` neu = GetPixel(uv2+.5) ; |
| 497 | comp_38=` ret1 = max(ret1,neu*(1-dist)); |
| 498 | comp_39=`n++; |
| 499 | comp_40=`} |
| 500 | comp_41=` |
| 501 | comp_42=` |
| 502 | comp_43=`ret = ret1*2 |
| 503 | comp_44=`+ bass_att*rs0.y*tex2D (sampler_main,uv*q12+time/32).gbr |
| 504 | comp_45=`*saturate(1-ret1*32); |
| 505 | comp_46=` |
| 506 | comp_47=`//ret = GetPixel(uv_orig+.5); |
| 507 | comp_48=` |
| 508 | comp_49=`} |
| 509 | comp_50=` |
| 510 | comp_51=` |